{% include 'header.html' %}
<div class="jumbotron">

    {% if 'user_name' not in session %}

    <h2 style="position: absolute;top: 100px;right:100px;">欢迎来到安徽省儿童医院设备科，请登录后使用</h2>

    {% else %}

    <h1 style="position: absolute;top: 90px;right:550px;">{{ session['user_name']}}</h1>
    <h3 style="position: absolute;top: 100px;right:200px;">您好，欢迎来到设备科！</h3>

    {% endif %}

</div>
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">
    <div class="carousel-inner">
        <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">


            <div class="carousel-inner">
                <div class="carousel-item active">
                    <img src="/static/儿童医院图片.jpg" class="d-block w-100" alt="..." width="1920" height="650">
                </div>
                <div class="carousel-item">
                    <img src="/static/医院视图1.jpg" class="d-block w-100" alt="..." width="1920" height="650">
                </div>
                <div class="carousel-item">
                    <img src="/static/医院视图2.jpg" class="d-block w-100" alt="..." width="1920" height="650">
                </div>

            </div>

            <button class="carousel-control-prev" type="button" data-target="#carouselExampleIndicators"
                    data-slide="prev">
                <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </button>
            <button class="carousel-control-next" type="button" data-target="#carouselExampleIndicators"
                    data-slide="next">
                <span class="carousel-control-next-icon" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </button>
        </div>
    </div>
</div>


<div>
    <img src="/static/医院名称2.png" style="position: absolute;top: 80px;left: 35px;">
</div>
<div>
    <img src="/static/医院名称.png" style="position: absolute;top: 70px;left: 480px;">
</div>
<div>
    <img src="/static/二维码和公众号.jpg" style="position: absolute;top: 565px;right: 25px;">
</div>
<br/>

<div style="position: absolute;top: 865px;right: 30px;">
    Copyright &copy; 2004-2018 安徽省儿童医院设备科
    All Rights Reserved，未经授权，禁止抄袭转载<br/></div>
<div style="position: absolute;top: 884px;right: 30px;">
    地址：安徽省合肥市望江东路39号，服务热线：0551-62237114
</div>
<script src="/static/jquery.slim.min.js"></script>
<script src="/static/bundle.min.js"></script>

{% include 'footer.html' %}